package com.jason.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.jason.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 地区表
 * </p>
 *
 * @author sj
 * @since 2018-05-04
 */
@ApiModel("地区表")
@TableName("sys_region")
@Data
public class SysRegion extends BaseModel {


    @ApiModelProperty(value = "区划名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "父区划名称")
    @TableField("parent_id")
    private Long parentId;

    @ApiModelProperty(value = "等级 0顶级 1省 直辖市 2 市 3区县")
    @TableField("level_type")
    private Long levelType;


}
